package com.dto;

/**
 * 主要用于存放各种提示信息
 * @author:LG
 * @date:Created at 2019/03/09
 */
public class Messages {
    public final static String SELECT_COMMENT_SUCCESS = "常量查询成功";
    public final static String SELECT_COMMENT_FAIL = "没有查询到内容";
    public final static String ADD_COMMENT_SUCCESS = "常量添加成功";
    public final static String ADD_COMMENT_FAIL = "常量添加失败";
    public final static String UPDATE_COMMENT_SUCCESS = "常量修改成功";
    public final static String UPDATE_COMMENT_FAIL = "常量修改成功";
    public final static String DELETE_COMMENT_SUCCESS = "常量删除成功";
    public final static String DELETE_COMMENT_FAIL = "常量删除成功";


    /*管理员*/
    public final static String SELECT_ADMINBYPAGE_SUCCESS = "分页查询管理员成功";
    public final static String SELECT_ADMINBYPAGE_FAIL = "分页查询管理员失败";
    public final static String SELECT_ADMINBYPK_SUCCESS = "根据主键查询管理员成功";
    public final static String SELECT_ADMINBYPK_FAIL = "根据主键查询管理员失败";

    public final static String ADDADMIN_SUCCESS = "增加管理员成功";
    public final static String ADDADMIN_FAIL = "增加管理员失败";
    public final static String UPDATEADMINBYPK_SUCCESS = "修改管理员成功";
    public final static String UPDATEADMINBYPK_FAIL = "修改管理员失败";
    public final static String DELETEADMINBYPK_SUCCESS = "删除管理员成功";
    public final static String DELETEADMINBYPK_FAIL = "删除管理员成功";


    public final static String SEARCHADMIN_SUCCESS = "搜索管理员成功";
    public final static String SEARCHADMIN_FAIL = "搜索管理员失败";



    /*排行榜*/
    public final static String SELECT_CHART_SUCCESS = "更新排行榜成功";
    public final static String SELECT_CHART_FAIL = "更新排行榜失败";


    /*购物车*/
    public final static String SAVE_GOODSCAR_SUCCESS = "保存购物车成功";
    public final static String SAVE_GOODSCAR_FAIL = "保存购物车失败";
    public final static String INIT_GOODSCAR_SUCCESS = "恢复购物车成功";
    public final static String INIT_GOODSCAR_FAIL = "恢复购物车失败";


    /*饼图柱状图数据集*/

    public final static String SELECT_DATASET_SUCCESS = "获得图表数据集成功";
    public final static String SELECT_DATASET_FAIL = "获得图表数据集成功";

    public final static String OPTION_FAIL = "权限不足";



}
